package com.ruoyi.service.jpjs.empchange;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.util.BaseResult;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.util.List;
import java.util.Map;

public interface EmpChangeService {

    List<Map<String,Object>> list(Map map);
    Map<String,Object> findDataById(String id);
    int add(Map map);
    int edit(Map map);
    int remove(String ids);
    BaseResult findCompMonthIsNull(Map map);

    /**
     * 根据年月取出月末人数
     */
    BaseResult findMonthEndNumByYearMonth(Map map);

    /**
     * 根据年月取出当月离职总人数
     */
    BaseResult findQuitCountByYearMonth(Map map);

    String findOid(String years, String months, String compId);
    int monthEndNum(String id);


}
